package net.melon.uploader.exception;

import net.esj.basic.exception.MelonRuntimeException;
import net.melon.uploader.ErrorInfo;

public class UploadRuntimeException extends MelonRuntimeException {

	private ErrorInfo errorInfo;

	public UploadRuntimeException(ErrorInfo errorInfo) {
		super();
		this.errorInfo = errorInfo;
	}

	@Override
	public String getMessage() {
		return errorInfo.name();
	}

	
}
